package yunjiao.javatutorials.mq.model;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户
 *
 * @author yangyunjiao
 */
@Data
@Builder
public class User implements Serializable { // 必须序列化（MQ传输要求）
    private String id;
    private String username;
    private String phone;
    private String email;
    private Integer status;
}
